<?php 
include 'config.php';
session_start();
$_SESSION ['id']=$_REQUEST['data'];

$comments = mysql_query("SELECT last_access FROM fawri_users where user_fbid=".$_REQUEST['data']."");
	$comment = mysql_fetch_array($comments);
	
	if (empty($comment)){
		echo "false";
	}else {
		$_SESSION['last_access']=$comment['last_access'];
		echo "true";
	}
	
mysql_close($con);
?>
